package com.anycl.design.structural.filter;

import lombok.Data;

/**
 * 垃圾类
 */
@Data
public class Rubbish {
    private String name;
    private boolean isHarm; // 是否有害垃圾
    private boolean isRecycled; // 是否可回收
    private boolean isDry; // 是否干垃圾
    private boolean isWet; // 是否湿垃圾

    public Rubbish(String name, boolean isHarm, boolean isRecycled, boolean isDry, boolean isWet) {
        this.name = name;
        this.isHarm = isHarm;
        this.isRecycled = isRecycled;
        this.isDry = isDry;
        this.isWet = isWet;
    }
}
